/*
 * Atoms.h
 *
 *  Created on: May 20, 2011
 *      Author: marchi
 */

#ifndef ATOMS_H_
#define ATOMS_H_
#include <typedefs.h>
#include <iostream>

class Atoms {
protected:
	int nr;
	rvec * x;
public:
	Atoms();
	Atoms(const int,const rvec *);
	Atoms(const Atoms &);
	virtual ~Atoms();
	Atoms & operator=(const Atoms &);
	Atoms & operator=(const real);
	rvec & operator[](int i){return x[i];};
	void Rot(const rvec [DIM]);
	void Tra(const rvec );
};

#endif /* ATOMS_H_ */

